<div class="col">
            <img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 55px;width: 55px;margin-top: -17px;margin-left: 25px;"/>
            <h1 style='margin-top: -35px;color: #000000;;font-size: 20px;'>HoT New</h1>
            <br>
            <br>



</div>

<section class="partners">
					
					<div id="partners-slider" style="padding-left: 192px;padding-right: 165px;">
						<div class="slider-holder2">
                                                    <?php
                                                    global $post;
                                                    $args = array( 'category'=>8 ,'orderby'=>'rand');
                                                    $custom_posts = get_posts($args);
                                                    foreach($custom_posts as $post) : setup_postdata($post);
                                                    $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
                                                    echo '<img src="'.$url.'" alt="" style="height: 60px; width: auto;margin-right: 50px; "/>';
                                                    endforeach;
                                                    wp_reset_postdata();
                                                    ?>
						</div>
					</div>
					<div class="slider-arr">
						<a class="prev-arr arr-btn" href="#"></a>
						<a class="next-arr arr-btn" href="#"></a>
					</div>
				</section>

<div class="col">
            <img src="<?php echo get_template_directory_uri(); ?>/images/tick.png" alt="" style="height: 55px;width: 55px;margin-top: -17px;margin-left: 25px;"/>
            <h1 style='margin-top: 0px;color: #000000;margin-bottom: -27px;font-size: 20px;'>Sản Phẩm</h1>
            <br>
            <br>



</div>                                    
<?php
        global $post;
        $args = array( 'category'=>8 ,'orderby'=>'rand');
        $custom_posts = get_posts($args);
        foreach($custom_posts as $post) : setup_postdata($post);

        echo '<div class="abox">';
        echo'<a href="';  the_permalink(); echo '" style="color:#000000 "><h1 style="font-size: 13px;color: #000000;margin-bottom: -20px;"><img src="'.get_template_directory_uri().'/images/blackberrylogo.png" alt="" style="height: 20px;width: 20px;margin-right: 1px; "/>'; the_title();echo'</h1></a>';
        echo '<br>';
        $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
        echo '<img src="'.$url.'" alt="" style="height: 150px; width: auto;margin-right: 50px; "/>';
            //echo'<div class="button"><a href="';the_permalink(); echo'">View More</a></div>';
            echo'<div ><a href="';the_permalink(); echo'">View More</a></div>';
            echo '</div>';                                                      
        endforeach;
        wp_reset_postdata();
 ?>       

                                       